package com.msb.service;

import com.msb.dubbo.service.DubboDemoService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Service;

import java.util.Objects;

/**
 * @author sunpeng
 * @Date 2021-07-22 15:54
 */
@Service
public class DemoService {
    @Reference(loadbalance = "roundrobin")
    private DubboDemoService dubboDemoService;

    public String demo(){
        return dubboDemoService.demo("123");
    }
}
